import pymysql

def get_db():
    db = pymysql.connect(host='localhost',
                         user='root', 
                         password='12345678', 
                         db='meetface',
                         cursorclass=pymysql.cursors.DictCursor)
    return db